home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
cmdity
/
clicker.lha
/
Clicker
/
Source
/
Makefile
< prev
next >
Wrap
Makefile
|
1996-05-16
|
1KB
|
38 lines
# Makefile for Clicker, using gcc as compiler.
# Set PROCESSOR to -m68010, -m68020, -m68030, -m68040 or -m68060 to generate
# code for these processors, or omit it to keep compatible with all Amigas.
# PROCESSOR = -m68040
# Set MATH to -m68881 if wish to compile for machines with a mathematical
# coprocessor. Otherwise, just comment out this line.
# MATH = -m68881
CC = gcc
CPPFLAGS = -DUTILITYBASE=UtilityBase
CFLAGS = -ansi -Wall -O3 -s $(PROCESSOR) $(MATH)
LDFLAGS = -s -noixemul $(PROCESSOR) $(MATH)
LOADLIBES = -lamiga -lm
RM = C:Delete
OBJS = main.o broker.o sound.o prefs.o gui.o sample.o
HDRS = main.h broker.h sound.h prefs.h gui.h sample.h
Clicker : $(OBJS)
$(CC) $(OBJS) $(LDFLAGS) -o $@ $(LOADLIBES)
main.o : main.c $(HDRS)
broker.o : broker.c broker.h main.h
sound.o : sound.c sound.h prefs.h main.h
gui.o : gui.c gui.h
# Not sure how to do this yet: sample.c must be compiled to use CHIP mem.
sample.o : sample.c sample.h
$(CC) -c $(CPPFLAGS) $(CFLAGS) -DCHIPMEMDIRECTIVE -chip $<
clean :
$(RM) $(OBJS)
.PHONY : clean